package com.imooc.distributedemo.init;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

import javax.annotation.PostConstruct;

@Component
public class DataInit {
    @Value("${my.config}")
    private String config;

    @Value("${ethereum.rpc.url}")
    private String ethereumRpcUrl;

    @PostConstruct
    public void init() {
        System.out.println("============");
    }
}
